﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RequestList.aspx.cs" Inherits="WebSite.admin.system.RequestList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
       <title>阳澄湖牌 </title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "商家管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>商家列表"
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table  width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <div style="width:98%; text-align:right;">
              
  <asp:Button ID="btnAdd" runat="server" Text="添加反馈建议与问题" onclick="btnAdd_Click" />
  </div>
  <br/>
  
<asp:GridView ID="GridView1" runat="server" Width="98%" CellPadding="4" 
        ForeColor="#333333" DataKeyNames="id" AutoGenerateColumns="False" 
        AllowPaging="True" pagesize="30" BorderStyle="Solid" BorderWidth="1px" 
      ShowFooter="false" EmptyDataText="没有数据记录！！"  onrowdatabound="GridView1_RowDataBound" >
        <Columns>
 
          <asp:TemplateField ShowHeader="False" HeaderText="内容" ItemStyle-HorizontalAlign="Left">
             <ItemTemplate>
                  <%# Eval("content") %>
                  <hr />
              </ItemTemplate>
        </asp:TemplateField>


        <asp:TemplateField ShowHeader="False" HeaderText="操作" HeaderStyle-Width="60px">
             <ItemTemplate>
               <a href="RequestAdd.aspx?id=<%# Eval("id") %>" title="编辑"><img height="16" src="../images/icon_edit.gif" width="16" border="0" /></a>
                <a href="RequestAdd.aspx?id=<%# Eval("id") %>&action=del" title="删除"  onClick="javascript:return confirm('你确定要删除这个商家吗?');"><img height="16" src="../images/icon_drop.gif" width="16" border="0" /></a>
              </ItemTemplate>
        </asp:TemplateField>
        </Columns>
             <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />             
             <PagerStyle BackColor="White" ForeColor="#333333" HorizontalAlign="Center" Font-Bold="True" Font-Size=30px />
             <HeaderStyle BackColor="#E2E7EB" Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" />
             <AlternatingRowStyle BackColor="White" />
             <PagerSettings Visible="False" />
        </asp:GridView>
        <table Width="98%" border="0" cellspacing="0" cellpadding="0">
       <tr>
         <td>&nbsp;</td>
         <td height="25" align="right" bgcolor="#E9ECEF"><asp:Label ID="LblRecordCount" runat="server"></asp:Label>
            <asp:Label ID="LblCurrentIndex" runat="server"></asp:Label>
            <asp:Label ID="LblPageCount" runat="server"></asp:Label>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="btnFirst" CommandArgument="first" OnClick="PagerButtonClick" runat="server">首 页</asp:LinkButton> 
            <asp:LinkButton ID="btnPrev" CommandArgument="prev" OnClick="PagerButtonClick" runat="server">上一页</asp:LinkButton> 
            <asp:LinkButton ID="btnNext" CommandArgument="next" OnClick="PagerButtonClick" runat="server">下一页</asp:LinkButton> 
            <asp:LinkButton ID="btnLast" CommandArgument="last" OnClick="PagerButtonClick" runat="server">尾 页</asp:LinkButton> 
             跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> </asp:DropDownList>页&nbsp;
         </td>
       </tr>
    </table>
</td>
    </tr>
  </table>
    </div>
    </form>
</body>
</html>
